﻿package model.entity.product;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="ActionToy")
public class ActionToy extends Toy {

	private Boolean remoteControl;
	private String powerUsage;
	public ActionToy() {
		super();
	}
	
	public Boolean getRemoteControl() {
		return remoteControl;
	}
	public void setRemoteControl(Boolean remoteControl) {
		this.remoteControl = remoteControl;
	}
	public String getPowerUsage() {
		return powerUsage;
	}
	public void setPowerUsage(String powerUsage) {
		this.powerUsage = powerUsage;
	}

	@Override
	public String toString() {
		return "ActionToy [remoteControl=" + remoteControl + ", powerUsage="
				+ powerUsage + ", ageRestriction=" + ageRestriction + ", size="
				+ size + ", material=" + material + ", id=" + id + ", name="
				+ name + ", price=" + price + ", image=" + image
				+ ", quantity=" + quantity + ", extraInfo=" + extraInfo
				+ ", brand=" + brand + ", state=" + state + "]";
	}
	
}
